<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        display: flex;
        border: 1px solid #000;
        height: 400px;
      }
      .left {
        background-color: pink;
        width: 200px;
        flex-shrink: 0;
        /* flex: 0 0 200px; */
      }
      .right {
        flex: 1;
        background-color: tan;
        padding: 20px;
      }
      .right-main {
        background-color: gold;
        height: 300px;
        width: 90vw;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="left"> 左侧分区 </div>
      <div class="right">
        右侧分区
        <div class="right-main"> 右侧内容 </div>
      </div>
    </div>
  </body>
</html>
